package com.bw.educate.teacherClient;

import com.bw.educate.common.ResponseResult;
import com.bw.educate.entity.EduCourseBase;
import com.bw.educate.entity.EduTeacher;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;


@FeignClient("education-course")
public interface TeacherClient {

    @GetMapping("/base/getByTeacherId/{id}")
    public List<EduCourseBase> getByTeacherId(@PathVariable("id")long id);
}
